<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var i=7;
			var num=0;
			for(var j=1;j<=50;j++){
				if(j%i==0){
					num=num+j;
				}
			}alert(num);
		</script>
	</body>
</html>
